import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const InitData = itf({
    payload: itf({
        brands: [itf({
            id: 'string',
            code: 'string',
            name: 'string'
        })]
    })
});

export const List = itf({
    payload: itf({
        content: [itf({
            id: 'string',
            options: ['string'],
        })],
        totalElements: 'number'
    })
});

export const Detail = itf({
    payload: itf(
        {
            id: 'string',
            options: ['string'],
            details: [
                itf({
                    id: 'string',
                })
            ]
        },
    )
});
